﻿using System;
using System.Collections.Generic;
using Shuba.Model;

namespace Shuba.Business
{
    public class TransactionLog
    {
        private Data.TransactionLog _log;
        public TransactionLog()
        {
            _log = new Data.TransactionLog();
        }

        public List<TransactionLogInfo> GetList(string AppID, DateTime startDate, DateTime endDate)
        {
            return _log.GetList(AppID, startDate, endDate);
        }

        public void Add(TransactionLogInfo log)
        {
            _log.AddLog(log);
        }

        public Int16 GetTimeOut()
        {
            return _log.GetTimeOut();
        }
    }
}
